/*
 * @Description:
 * @Author: maskMan
 * @LastEditTime: 2024-11-20 14:58:13
 */
export const isValidUsername = (str: string) => str.trim().length >= 5 && str.trim().length <= 11;
export const isExternal = (path: string) => /^(https?:|mailto:|tel:)/.test(path);
